package com.sixteen.theGreat.workbench.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sixteen.theGreat.settings.entity.User;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Talk {
    private String talkId;
    private String talkName;
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss",timezone = "GMT+8")
    private Date timeCreate;
    private String userId;

    private String talkContent;
    private User user;
    private List<TalkRemark> talkRemarkList;
}
